package com.siecomzg.cmlinterface;

import java.util.HashMap;

public class LockMap {

	private static HashMap<Long, ResultLock> lock_map = new HashMap<Long, ResultLock>();

	private LockMap() {

	}

	public static void store(long id, ResultLock r) {

		lock_map.put(id, r);
	}

	public static ResultLock pick(long id) {
		return lock_map.get(id);
	}

	public static void del(long id) {

		lock_map.remove(id);
	}

}
